package com.sniff.atp.modules.test.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @BelongsProject: sniff-atp
 * @BelongsPackage: com.sniff.atp.modules.test.model
 * @Author: zxy
 * @CreateTime: 2024-01-23 16:28
 * @Description:
 * @Version: 1.0
 */
@Data
@TableName("platform_address")
@ApiModel(value = "PlatformAddress对象", description = "平台地址")
public class PlatformAddress implements Serializable {
    @ApiModelProperty("自增")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("平台名称")
    private String platformName;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("测试环境地址")
    private String testEnv;

    @ApiModelProperty("预发环境地址")
    private String preEnv;

    @ApiModelProperty("线上环境地址")
    private String prodEnv;

    @ApiModelProperty("图片链接")
    private String favicon;

    @ApiModelProperty("平台描述")
    private String platformDesc;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("平台类型ID")
    private Long classifyId;

    @TableField(exist = false)
    private Date startTime;

    @TableField(exist = false)
    private Date endTime;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private Integer pageNum;
}
